package cn.rongcloud.im.server.response;

import java.util.List;

/**
 * 邻里圈分类Response对象
 * Created by fangxuegengezou on 2017/3/21.
 */

public class MomentsTypeResponse extends BaseMomentResponse{
/**
 * {"code":200,
 * "message":"",
 * "result":[{"id":"3f22139c1f4e4991b6e5228c7a4bdf58","name":"生活","status":0,"orderseq":100,"createTime":"2017-03-10T15:32:46","updateTime":"2017-03-10T15:32:46"},
 * {"id":"717d1b931c3a4f85812b9fafe41e050b","name":"二手","status":0,"orderseq":99,"createTime":"2017-03-10T15:33:01","updateTime":"2017-03-10T15:33:01"},
 * {"id":"109ea1748bb24da4b5abbc79cd5c8988","name":"亲子","status":0,"orderseq":98,"createTime":"2017-03-10T15:33:02","updateTime":"2017-03-10T15:33:02"},
 * {"id":"2af7d380916e4c49832e70f36af690de","name":"团购","status":0,"orderseq":97,"createTime":"2017-03-10T15:33:03","updateTime":"2017-03-10T15:33:03"},
 * {"id":"81a8fdd8267b45eba21db4c968c87de1","name":"问答","status":0,"orderseq":96,"createTime":"2017-03-10T15:34:15","updateTime":"2017-03-10T15:34:15"}]}


 * */

    private List<ResultEntity> result;

    public List<ResultEntity> getResult() {
        return result;
    }

    public void setResult(List<ResultEntity> result) {
        this.result = result;
    }

    public static class ResultEntity implements Comparable{
        private String id;
        private String name;
        private int status;
        private int orderseq;
        private String createTime;
        private String updateTime;

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getOrderseq() {
            return orderseq;
        }

        public void setOrderseq(int orderseq) {
            this.orderseq = orderseq;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        @Override
        public int compareTo(Object another) {
            return 0;
        }

        public ResultEntity(String id, String name, int status, int orderseq, String createTime, String updateTime){
            this.id=id;
            this.name=name;
            this.status = status;
            this.orderseq = orderseq;
            this.createTime= createTime;
            this.updateTime = updateTime;

        }
        public ResultEntity(){

        }
        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }
    }
}
